﻿(function(E, T, $){
var selection = E.mod('Selection'),
	setValue= '百科链接',
	title = '百科链接',
	testName = 'BaikeLink',
	dom = null,
	node = null,
	cmds = [
		[1500, {fun: function() {
			dom = E.get('document');
			dom.body.innerHTML = '<span id="_testBaikeLink">'+setValue+'</span>';
			node = dom.getElementById('_testBaikeLink');
			selection.selectNode(node, true);
			selection.selectedText(setValue);
		}}],
		[500, {name : '#demo-BaikeLink', type: 'mouseover'}],
		[500, {name : '#demo-BaikeLink a.BaikeLink', type: 'click'}]
	];

T.addTest(testName, cmds, title);
})(jQEditor,AutoTest, jQuery)